<ion-view view-title="登陆">
  <ion-content>
    <div class="card">
      <label class="item item-input">
    <span class="input-label">用户名</span>
    <input type="text" ng-model="user.username" required>
  </label>
      <label class="item item-input">
    <span class="input-label">密码</span>
    <input type="password" ng-model="user.password" required>
  </label>
      <ion-item>
        <button class="button button-balanced button-outline button-block" ng-click="sign_in() ">登陆</button>
      </ion-item>
    </div>
  </ion-content>
</ion-view>